import { IActionType } from "./knowledge";

export type ISurveyRes = {
  survey: string;
  quiz: string;
};

export type ICollectArtical = {
  author: string;
  banner: string | null;
  collectCount: number;
  createdAt: string;
  fileName: string;
  id: number;
  likeCount: number;
  name: string;
  publishTime: string;
  shareCount: number;
  status: number;
  updatedAt: string;
  viewCount: number;
};

export type IMissionItemRes = {
  actionRelatedData: number;
  actionRelatedType: string;
  actionType: IActionType;
  completedCount: number;
  completedPercent: number;
  description: string;
  id: number;
  name: string;
  pointsRule: string;
  targetCount: number;
};

export type IWeatherItem = {
  code: string;
  createdAt: string;
  updatedAt: string;
  date: string;
  id: number;
  name: string;
  preventionSuggestion: string;
  riskLevel: string;
  riskLevelCode: string;
  targetPopulation: string;
  icon: string | null;
  isTomorrow: 0 | 1;
};
